package com.deyuanyun.pic.pbf.service.impl;

import com.deyuanyun.pic.pbf.domain.DefectEvaluation;
import com.deyuanyun.pic.pbf.mapper.DefectEvaluationMapper;
import com.deyuanyun.pic.pbf.service.DefectEvaluationService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DefectEvaluationServiceImpl implements DefectEvaluationService {
    @Autowired
    private DefectEvaluationMapper defectEvaluationMapper;

    private static final Logger logger = LoggerFactory.getLogger(DefectEvaluationServiceImpl.class);

    public DefectEvaluation selectByPrimaryKey(String id) {
        return this.defectEvaluationMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.defectEvaluationMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(DefectEvaluation record) {
        return this.defectEvaluationMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(DefectEvaluation record) {
        return this.defectEvaluationMapper.updateByPrimaryKey(record);
    }

    public int insert(DefectEvaluation record) {
        return this.defectEvaluationMapper.insert(record);
    }
}